<?php

namespace App\Console\Commands;

use Illuminate\Console\Command;
use Carbon\Carbon;
use App\Services\BankServices;

class BankExcel extends Command
{
    use BankServices;
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'bank:excel';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = '联机对账单';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     *
     * @return mixed
     */
    public function handle()
    {

        $res = $this->sendBankInfo();
        \Log::info("bank data -- ".$res);
        $this->info('预售下发统计');

    }


}
